package com.bruce.consumer;

import com.bruce.framework.Invocation;
import com.bruce.framework.ProxyFactory;
import com.bruce.framework.protocol.http.HttpClient;
import com.bruce.provider.api.HelloService;

public class Consumer {

    public static void main(String[] args) {

        HelloService helloService = ProxyFactory.getProxy(HelloService.class);
        String result = helloService.sayHello("Strive");
        System.out.println(result);
    }
}
